
CXXFLAGS=-I$(INCLUDE_PATH) -L$(LIB_PATH) -lprotobuf
LDLIBS=-pthread

all:main_current main_new main_new main_new2

main_current:main_current.cpp msg_cpp/msg.pb.h msg_cpp/msg.pb.cc 
	g++ -o main_current main_current.cpp ../ec2/public/_public.cpp msg_cpp/msg.pb.cc $(CXXFLAGS) $(LDLIBS)

main_new:main_new.cpp msg_cpp/msg.pb.h msg_cpp/msg.pb.cc 
	g++ -o main_new main_new.cpp ../ec2/public/_public.cpp msg_cpp/msg.pb.cc $(CXXFLAGS) $(LDLIBS)

main_new2:main_new2.cpp msg_cpp/msg.pb.h msg_cpp/msg.pb.cc 
	g++ -o main_new2 main_new2.cpp ../ec2/public/_public.cpp msg_cpp/msg.pb.cc $(CXXFLAGS) $(LDLIBS)

clean:
	rm -rf main_current main_new main_new2
